package com.gai.shop.entity;


import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Orders implements Serializable {

  private String oid;
  private Integer uid;
  private Integer aid;
  private Address addr;//qr adetail对象<===字符串
  private Double ocount;
  private Date otime;
  private Integer ostate;
  private List<Item> items;//
  private  User user;

  public Orders() {

  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public String getOid() {
    return oid;
  }

  public void setOid(String oid) {
    this.oid = oid;
  }

  public Integer getUid() {
    return uid;
  }

  public void setUid(Integer uid) {
    this.uid = uid;
  }

  public Integer getAid() {
    return aid;
  }

  public void setAid(Integer aid) {
    this.aid = aid;
  }

  public Address getAddr() {
    return addr;
  }

  public void setAddr(Address addr) {
    this.addr = addr;
  }

  public Double getOcount() {
    return ocount;
  }

  public void setOcount(Double ocount) {
    this.ocount = ocount;
  }

  public Date getOtime() {
    return otime;
  }

  public void setOtime(Date otime) {
    this.otime = otime;
  }

  public Integer getOstate() {
    return ostate;
  }

  public void setOstate(Integer ostate) {
    this.ostate = ostate;
  }

  public List<Item> getItems() {
    return items;
  }

  public void setItems(List<Item> items) {
    this.items = items;
  }
}
